func crypto/tls.unexpectedMessageError

21 uses

	crypto/tls (current package)
		common.go#L1610: func unexpectedMessageError(wanted, got any) error {
		conn.go#L1266: 		return unexpectedMessageError(helloReq, msg)
		handshake_client.go#L335: 		return unexpectedMessageError(serverHello, msg)
		handshake_client.go#L652: 		return unexpectedMessageError(certMsg, msg)
		handshake_client.go#L741: 		return unexpectedMessageError(shd, msg)
		handshake_client.go#L972: 		return unexpectedMessageError(serverFinished, msg)
		handshake_client.go#L1008: 		return unexpectedMessageError(sessionTicketMsg, msg)
		handshake_client_tls13.go#L409: 		return unexpectedMessageError(serverHello, msg)
		handshake_client_tls13.go#L567: 		return unexpectedMessageError(encryptedExtensions, msg)
		handshake_client_tls13.go#L655: 		return unexpectedMessageError(certMsg, msg)
		handshake_client_tls13.go#L680: 		return unexpectedMessageError(certVerify, msg)
		handshake_client_tls13.go#L724: 		return unexpectedMessageError(finished, msg)
		handshake_server.go#L143: 		return nil, unexpectedMessageError(clientHello, msg)
		handshake_server.go#L651: 			return unexpectedMessageError(certMsg, msg)
		handshake_server.go#L679: 		return unexpectedMessageError(ckx, msg)
		handshake_server.go#L717: 			return unexpectedMessageError(certVerify, msg)
		handshake_server.go#L797: 		return unexpectedMessageError(clientFinished, msg)
		handshake_server_tls13.go#L550: 		return nil, unexpectedMessageError(clientHello, msg)
		handshake_server_tls13.go#L950: 		return unexpectedMessageError(certMsg, msg)
		handshake_server_tls13.go#L976: 			return unexpectedMessageError(certVerify, msg)
		handshake_server_tls13.go#L1025: 		return unexpectedMessageError(finished, msg)